Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve findChild and findAncestor AST methods #807

Merged
merged 1 commit into from
May 11, 2023

Conversation

TwitchBronBron
Copy link
Member

  • Improves findChild and findAncestor AstNode methods so they both support externally cancelling the walk, as well as
  • enables findAncestor to return a different node than matched, if the matcher returns the node

@TwitchBronBron TwitchBronBron merged commit 2c144e4 into master May 11, 2023
4 checks passed
@TwitchBronBron TwitchBronBron deleted the ast-walking-fixes branch May 11, 2023 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant